//
//  TempPlot.m
//  PlotMate
//
//  Created by Brian Boyle on 05/04/2012.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "TempPlot.h"

@implementation TempPlot

@synthesize name = _name;
@synthesize soilType = _soilType;
@synthesize lightConditions = _lightConditions;
@synthesize numberOfBedsToAdd = _numberOfBedsToAdd;
@synthesize beds = _beds;

- (void)addBedsObject:(TempBed *)bed
{
    if(self.beds == nil){
        //Initialise the NSSet with a capacity for the number of beds to be added
        self.beds = [[NSMutableSet alloc] initWithCapacity:self.numberOfBedsToAdd];
    }
    [self.beds addObject:bed];
}

@end
